package com.example.designModel.observe.process;

/**
 * 通知者
 * */
public abstract class Subject {
   abstract void attach(Observe observe);
   abstract void detach(Observe observe);
   abstract void notified();
   private String subjectState ;

    public String getSubjectState() {
        return subjectState;
    }

    public void setSubjectState(String subjectState) {
        this.subjectState = subjectState;
    }
}
